<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableAjaxValidation'=>true,
)); ?>
	<div class="control-group row-fluid">
		<?php echo $form->labelEx($model,Yii::t('base','Username')); ?>
		  <div class="controls row-fluid input-append">
		<?php echo $form->textField($model,'username'); ?><span class="add-on"><i class="icon-user"></i></span>
		</div>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="control-group row-fluid">
		 <?php echo $form->labelEx($model,Yii::t('base','Password')); ?>
		 <div class="controls row-fluid input-append">
		<?php echo $form->passwordField($model,'password'); ?><span class="add-on"><i class="icon-lock"></i></span>
		</div>
		<?php echo $form->error($model,'password'); ?>
	</div>
	<div class="control-group row-fluid fluid">
	<div class="controls span6">
		<?php echo $form->checkBox($model,Yii::t('base','rememberMe')); ?>
        <?php echo $form->label($model,Yii::t('base','rememberMe')); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('base','Login')); ?>
	</div>
	</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
